package com.wangyg.Observer;

/**
 * Created by wangyg6 on 2019/5/29 10:05.
 * 被观察接口类
 */
public interface Observerable {
	//订阅
	void register(Observer observer);

	//退订
	void remove(Observer observer);

	//发布
	void publish();
}
